<h1>Listing relationships</h1>

<table>
  <tr>
  </tr>
  
<% for relationship in @relationships %>
  <tr>
    <td><%= link_to 'Show', relationship_path(relationship) %></td>
    <td><%= link_to 'Edit', edit_relationship_path(relationship) %></td>
    <td><%= link_to 'Destroy', relationship_path(relationship), :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New relationship', new_relationship_path %>